PrestoPlayer\Models\ReusableVideo S

Total Complexity 48
Dependencies 7
Dependents 11
Total lines 310
Lines of code 139
Logical lines of code 85
Comment lines 106
Methods 14
Properties 3

Methods 14

Method Rating Maintainability Complexity Lines of code
renderBlock()
A
51 10 25
maybeSwitchProvider()
A
50 9 29
getAttributes()
A
53 8 22
getBlock()
S
64 4 10
getInstantVideoWidth()
S
68 3 7
__get()
S
79 2 3
first()
S
73 2 4
content()
S
79 2 3
getPosterFromBlock()
S
68 2 7
instantVideoPageEnabled()
S
71 2 6
__construct()
S
76 1 4
create()
S
73 1 5
fetch()
S
68 1 7
all()
S
68 1 7